import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

export * from './constant'
export * from './types'
export * from './modules'

export const pinia = createPinia()

export default (app: App) => {
  app.use(pinia)
  pinia.use(piniaPluginPersistedstate)
}
